package io.geekidea.boot.test.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 消费记录参数
 *
 * @author geekidea
 * @since 2025-03-26
 */
@Data
@Schema(description = "消费记录参数")
public class PayRecordDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "业务id，具体业务的id")
    private String sourceId;

    @Schema(description = "交易类型，0：购卡，1：充值; 2：退款等")
    private Boolean dealType;

    @Schema(description = "交易时间")
    private Date payDate;

    @Schema(description = "交易金额，单位分")
    private Integer payMoney;

    @Schema(description = "用户id")
    private Long userId;

}


